inherited FrelatorioRequisicaoItensValidadosEmAberto: TFrelatorioRequisicaoItensValidadosEmAberto
  Left = 217
  Top = 146
  Width = 1063
  Height = 624
  Caption = 'ESTOQUE / REQUISI'#199#195'O / VALIDA'#199#195'O '
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 1055
  end
  inherited Panel2: TPanel
    Width = 1055
    Caption = 'EFICI'#202'NCIA DO ESTOQUE'
  end
  inherited GroupBox1: TGroupBox
    object Label3: TLabel
      Left = 18
      Top = 22
      Width = 125
      Height = 16
      Caption = 'Grupo Class. Produto'
    end
    object GroupBox3: TGroupBox
      Left = 18
      Top = 72
      Width = 225
      Height = 65
      Caption = '  Data  '
      TabOrder = 0
      object Label5: TLabel
        Left = 108
        Top = 32
        Width = 7
        Height = 16
        Caption = 'a'
      end
      object edDataRequisicaoIni: TDateEdit
        Left = 9
        Top = 29
        Width = 90
        Height = 21
        NumGlyphs = 2
        TabOrder = 0
      end
      object edDataRequisicaoFim: TDateEdit
        Left = 126
        Top = 29
        Width = 90
        Height = 21
        NumGlyphs = 2
        TabOrder = 1
      end
    end
    object GroupBox4: TGroupBox
      Left = 18
      Top = 144
      Width = 225
      Height = 105
      Caption = '  Situa'#231#227'o  '
      TabOrder = 1
      object cbNaoAtendidos: TCheckBox
        Left = 8
        Top = 24
        Width = 113
        Height = 17
        Caption = 'N'#227'o Atendidos'
        TabOrder = 0
      end
      object cbParcialmenteAtendidos: TCheckBox
        Left = 8
        Top = 48
        Width = 169
        Height = 17
        Caption = 'Parcialmente Atendidos'
        TabOrder = 1
      end
      object cbAtendidos: TCheckBox
        Left = 8
        Top = 72
        Width = 169
        Height = 17
        Caption = 'Atendidos'
        TabOrder = 2
      end
    end
    object edGrupo: TEdit
      Left = 18
      Top = 40
      Width = 121
      Height = 22
      CharCase = ecUpperCase
      TabOrder = 2
    end
  end
  inherited GroupBox2: TGroupBox
    object rgTipo: TRadioGroup
      Left = 8
      Top = 56
      Width = 257
      Height = 73
      Caption = '  Tipo  '
      Columns = 2
      ItemIndex = 0
      Items.Strings = (
        'Detalhado'
        'Resumido')
      TabOrder = 5
    end
  end
  inherited RLReport: TRLReport
    Left = 8
    Top = 365
    DataSource = DSPesquisa
    object RLBand2: TRLBand
      Left = 38
      Top = 120
      Width = 718
      Height = 21
      BandType = btColumnHeader
      BeforePrint = RLBand2BeforePrint
      object RLLabel1: TRLLabel
        Left = 454
        Top = 2
        Width = 29
        Height = 15
        Caption = 'Data'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel2: TRLLabel
        Left = 526
        Top = 2
        Width = 52
        Height = 15
        Caption = 'Dt. Valid.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel8: TRLLabel
        Left = 8
        Top = 2
        Width = 42
        Height = 15
        Caption = 'C'#243'digo'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel9: TRLLabel
        Left = 51
        Top = 2
        Width = 83
        Height = 15
        Caption = 'Desc. Produto'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel10: TRLLabel
        Left = 400
        Top = 2
        Width = 43
        Height = 15
        Caption = 'N'#186' Req.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel3: TRLLabel
        Left = 595
        Top = 2
        Width = 51
        Height = 15
        Caption = 'Qtd Req.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel11: TRLLabel
        Left = 650
        Top = 2
        Width = 62
        Height = 15
        Caption = 'Qtd Atend.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
    object RLBand3: TRLBand
      Left = 38
      Top = 164
      Width = 718
      Height = 20
      BeforePrint = RLBand3BeforePrint
      object RLDBText2: TRLDBText
        Left = 8
        Top = 2
        Width = 42
        Height = 15
        AutoSize = False
        DataField = 'ITENS_REQ_PRODCODIGO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText3: TRLDBText
        Left = 51
        Top = 2
        Width = 342
        Height = 15
        AutoSize = False
        DataField = 'ITENS_REQ_PROD_DESC'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText4: TRLDBText
        Left = 400
        Top = 2
        Width = 44
        Height = 15
        Alignment = taCenter
        AutoSize = False
        DataField = 'ITENS_REQ_REQCODIGO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText5: TRLDBText
        Left = 454
        Top = 2
        Width = 68
        Height = 15
        AutoSize = False
        DataField = 'REQ_DATA'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText8: TRLDBText
        Left = 526
        Top = 2
        Width = 68
        Height = 15
        AutoSize = False
        DataField = 'ITENS_REQ_DATA_VALIDACAO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText11: TRLDBText
        Left = 595
        Top = 2
        Width = 52
        Height = 15
        Alignment = taCenter
        AutoSize = False
        DataField = 'ITENS_REQ_QUANTIDADE'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText12: TRLDBText
        Left = 650
        Top = 2
        Width = 62
        Height = 15
        Alignment = taCenter
        AutoSize = False
        DataField = 'ITENS_REQ_QTD_ATENDIDA'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
    end
    object RLBand7: TRLBand
      Left = 38
      Top = 141
      Width = 718
      Height = 23
      BandType = btColumnHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      BeforePrint = RLBand7BeforePrint
      object RLLabel17: TRLLabel
        Left = 575
        Top = 3
        Width = 74
        Height = 16
        Alignment = taRightJustify
        Caption = 'Requisi'#231#227'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel18: TRLLabel
        Left = 676
        Top = 3
        Width = 38
        Height = 16
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Var%'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
    object RLBand6: TRLBand
      Left = 38
      Top = 184
      Width = 718
      Height = 24
      BeforePrint = RLBand6BeforePrint
      object RLDBText15: TRLDBText
        Left = 2
        Top = 4
        Width = 431
        Height = 16
        AutoSize = False
        DataField = 'DESCRICAO_1'
        DataSource = dsResumo
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLDBText17: TRLDBText
        Left = 536
        Top = 4
        Width = 114
        Height = 16
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'VALOR_1'
        DataSource = dsResumo
        BeforePrint = RLDBText17BeforePrint
      end
      object RLDBText18: TRLDBText
        Left = 672
        Top = 4
        Width = 41
        Height = 16
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'VARIACAO_1'
        DataSource = dsResumo
        BeforePrint = RLDBText18BeforePrint
      end
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'SELECT '
      '  ITENSREQUISICAO.ITENS_REQ_CODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_REQCODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_PRODCODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_PROD_DESC,'
      '  ITENSREQUISICAO.ITENS_REQ_QUANTIDADE,'
      '  ITENSREQUISICAO.ITENS_REQ_SITUACAO,'
      '  ITENSREQUISICAO.ITENS_REQ_VALIDACAO,'
      '  ITENSREQUISICAO.ITENS_REQ_QTD_ATENDIDA,'
      '  COALESCE(ITENSREQUISICAO.ITENS_REQ_QUANTIDADE, 0) -'
      
        '  COALESCE(ITENSREQUISICAO.ITENS_REQ_QTD_ATENDIDA,0) AS DIFERENC' +
        'A,'
      '  ITENSREQUISICAO.ITENS_REQ_DATA_VALIDACAO,'
      '  ITENSREQUISICAO.EXCLUIDO,'
      '  REQUISICAO.REQ_DATA'
      'FROM'
      '  ITENSREQUISICAO'
      
        '  INNER JOIN REQUISICAO ON (ITENSREQUISICAO.ITENS_REQ_REQCODIGO ' +
        '= REQUISICAO.REQ_CODIGO)'
      'WHERE '
      '   ITENSREQUISICAO.EXCLUIDO = '#39'N'#39)
    Left = 496
    Top = 33
    object QPesquisaITENS_REQ_CODIGO: TIntegerField
      FieldName = 'ITENS_REQ_CODIGO'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_CODIGO'
    end
    object QPesquisaITENS_REQ_REQCODIGO: TIntegerField
      FieldName = 'ITENS_REQ_REQCODIGO'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_REQCODIGO'
    end
    object QPesquisaITENS_REQ_PRODCODIGO: TIntegerField
      FieldName = 'ITENS_REQ_PRODCODIGO'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_PRODCODIGO'
    end
    object QPesquisaITENS_REQ_PROD_DESC: TStringField
      FieldName = 'ITENS_REQ_PROD_DESC'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_PROD_DESC'
      Size = 60
    end
    object QPesquisaITENS_REQ_SITUACAO: TStringField
      FieldName = 'ITENS_REQ_SITUACAO'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_SITUACAO'
      FixedChar = True
      Size = 1
    end
    object QPesquisaITENS_REQ_VALIDACAO: TStringField
      FieldName = 'ITENS_REQ_VALIDACAO'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_VALIDACAO'
      FixedChar = True
      Size = 1
    end
    object QPesquisaITENS_REQ_DATA_VALIDACAO: TDateTimeField
      FieldName = 'ITENS_REQ_DATA_VALIDACAO'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_DATA_VALIDACAO'
    end
    object QPesquisaEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      Origin = 'BASE.ITENSREQUISICAO.EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object QPesquisaREQ_DATA: TDateTimeField
      FieldName = 'REQ_DATA'
      Origin = 'BASE.REQUISICAO.REQ_DATA'
    end
    object QPesquisaITENS_REQ_QUANTIDADE: TFloatField
      FieldName = 'ITENS_REQ_QUANTIDADE'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_QUANTIDADE'
      DisplayFormat = '#.###'
    end
    object QPesquisaITENS_REQ_QTD_ATENDIDA: TFloatField
      FieldName = 'ITENS_REQ_QTD_ATENDIDA'
      Origin = 'BASE.ITENSREQUISICAO.ITENS_REQ_QTD_ATENDIDA'
      DisplayFormat = '#.###;;0'
    end
    object QPesquisaDIFERENCA: TFloatField
      FieldName = 'DIFERENCA'
    end
  end
  inherited DSPesquisa: TDataSource
    Left = 560
    Top = 30
  end
  object dsResumo: TDataSource
    Left = 304
    Top = 144
  end
end
